<div class="modal-body">
    <div class="container-fluid form-horizontal ">
      <div class="panel panel-info form-horizontal">
    <div class="panel-heading ">
      指南
    </div>
    <div class="panel-body">
      <div class="container-fluid">
        <div class="  wrapper-md ng-scope" style="text-align: center">
     <h1 class="m-n font-thin h3 ng-binding">指南信息</h1>
  </div>
  <div class="col-sm-12" style="padding:10px">
      <div class="form-group">
          <label class="col-xs-4 control-label">指南名称:</label>
          <div class="col-sm-4">
              <input type="text" class="form-control" ng-model="a.directory_name" placeholder="指南名称" > 
          </div>
      </div>
  </div>
  
  <div class="col-sm-12" style="padding:10px">
      <div class="form-group">
        <label class="col-xs-4 control-label">创建年份:</label>
        <div class="col-sm-4">
            <select class="form-control" ng-model="a.year">
                <option value=''>请选择</option>
                <option value='2018年'>2018年</option>
                <option value='2019年'>2019年</option>
                <option value='2020年'>2020年</option>
            </select>
        </div>
      </div>
  </div>
  
  
  
  <div class="col-sm-12" style="padding:10px">
      <div class="form-group">
          <label class="col-xs-4 control-label">上传资料:</label>
          <div class="col-sm-4">
              <button class="btn m-b-xs w-sm btn-info" ng-click="image()">
                  <i class="fa fa-file-image-o"></i> 上传文件
              </button> 
          </div>
        </div>
  </div>
  
        
  <div class="col-sm-12" style="padding:10px" ng-repeat="item in imagearr">           
            <div class="col-sm-4" >         
             </div> 
            <div class="col-sm-4">
                <img ng-src="{{item}}" width="100%" height="100"  ng-show="item.lastIndexOf('.pdf')=='-1'">
                <a href= "{{item}}" target="_Blank" ng-show="item.lastIndexOf('.pdf')!='-1'">{{item}}</a>
                <a type = 'button' class="btn-xs m-b-xs w-sm btn-danger" ng-click="del($index)">删除</a>	
            </div> 
        </div>       
  <div class="col-sm-12" style="padding:20px">
    <div class="col-sm-5"></div>
    <div class="col-sm-4">
        <button class="btn btn-success " ng-click="submit()">保存</button>
    </div>
  </div>